﻿using System;

namespace Entities
{
    [Serializable]
    public class PhieuTTNCC
    {
        private string hanhdong;
        private int phieuttnccid;
        private string maPhieuTTNCC;
        private string maKho;
        private DateTime ngayLap;
        private string maNhaCungCap;
        private string tenNhaCungCap;
        private string tongThanhToan;
        private string nohienthoi;
        private string nguoinhan;
        private string maNhanVien;
        private bool loaiphieu;
        private string ghiChu;
        private bool deleted;


        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }

        public PhieuTTNCC()
        { }
        public PhieuTTNCC(int phieuttnccid, string hanhdong, string maPhieuTTNCC, DateTime ngayLap, string maNhaCungCap, string tenNhaCungCap, string tongThanhToan, string nohienthoi, string nguoinhan, string maTienTe, string maNhanVien, string maKho, bool loaiphieu, string ghiChu, bool deleted, Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.phieuttnccid = phieuttnccid;
            this.hanhdong = hanhdong;
            this.maPhieuTTNCC = maPhieuTTNCC;
            this.maKho = maKho;
            this.ngayLap = ngayLap;
            this.tenNhaCungCap = tenNhaCungCap;
            this.TenNhaCungCap = maNhaCungCap;
            this.maNhanVien = maNhanVien;
            this.tongThanhToan = tongThanhToan;
            this.nohienthoi = nohienthoi;
            this.nguoinhan = nguoinhan;
            this.loaiphieu = loaiphieu;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int PhieuTTNCCID
        {
            get { return this.phieuttnccid; }
            set
            {
                this.phieuttnccid = value;
            }
        }

        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public string MaPhieuTTNCC
        {
            get { return this.maPhieuTTNCC; }
            set
            {
                this.maPhieuTTNCC = value;
            }
        }
        public string MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set { this.ngayLap = value; }
        }
        public string MaNhaCungCap
        {
            get { return this.maNhaCungCap; }
            set { this.maNhaCungCap = value; }
        }
        public string TenNhaCungCap
        {
            get { return this.tenNhaCungCap; }
            set { this.tenNhaCungCap = value; }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set { this.maNhanVien = value; }
        }
        public string TongThanhToan
        {
            get { return this.tongThanhToan; }
            set { this.tongThanhToan = value; }
        }
        public string NoHienThoi
        {
            get { return this.nohienthoi; }
            set { this.nohienthoi = value; }
        }
        public string Nguoinhan
        {
            get { return this.nguoinhan; }
            set { this.nguoinhan = value; }
        }
        public bool LoaiPhieu
        {
            get { return this.loaiphieu; }
            set { this.loaiphieu = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }


    }
}